package today.rocky.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "app_password_card")
@Data
@Entity
public class AppPasswordCard implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "num", nullable = false)
    private String num;

    @Column(name = "row", nullable = false)
    private String row;

    @Column(name = "tier", nullable = false)
    private String tier;

    @Id
    @Column(name = "userID", insertable = false, nullable = false)
    private String userID;

    @Column(name = "userName", nullable = false)
    private String userName;

    @Column(name = "value", nullable = false)
    private String value;

    
}